package com.ruoyi.web.controller.system.mappers;

import com.ruoyi.system.domain.SysCustomColumn;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Classname CustomMapper
 * @Author: sunluquan
 * @Date: 2022/2/24 17:03
 * @Description TODO
 * 自定义类实体的映射转换类 {@link com.ruoyi.system.domain.SysCustomColumn} to {@link CustomColumnVo}
 */
@Mapper(componentModel = "spring")
public interface CustomColumnVoMapper {

    CustomColumnVoMapper CUSTOM_COLUMN_VO_MAPPER = Mappers.getMapper(CustomColumnVoMapper.class);

    public CustomColumnVo toCustomColumnVo(SysCustomColumn sysCustomColumn);

    public List<CustomColumnVo> toCustomColumnVoList(List<SysCustomColumn> sysCustomColumns);
}
